package com.example.ribbon.service;

import com.alibaba.fastjson.JSONObject;
import com.example.config.exception.GlobalExcetion;
import com.example.util.MethodDesc;
import com.example.util.Module;

@Module(name = "消息发送模块", description = "主要用于消息发送")
public interface ReceiveMsgRibbonService {

    @MethodDesc(description = "消息发送模块")
    public JSONObject receiveMsg(String toUid, String msg) throws GlobalExcetion;

    @MethodDesc(description = "获取当前用户消息列表")
    public JSONObject getUserMsgList();

    @MethodDesc(description = "获取当前用户消息列表分页")
    public JSONObject getUserMsgPage(Integer pageNum,Integer pageSize);

    @MethodDesc(description = "获取当前用户消息与具体某个人的消息分页")
    public JSONObject getUserMsgPage(Integer pageNum,Integer pageSize,String formUid);
}
